package com.swallowtech.mstation.core.repository.mybatis;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.swallowtech.mstation.core.domain.Account;
import com.swallowtech.mstation.core.domain.MusicGenre;
import com.swallowtech.mstation.core.repository.MusicGenreRepository;

@Repository
public class MusicGenreRepositoryImpl implements MusicGenreRepository {

	@Autowired
	private MusicGenreMapper musicGenreMapper;
	
	public MusicGenre findById(Integer id) {
		return musicGenreMapper.selectByPrimaryKey(id);
//		return null;
	}

	public void update(MusicGenre musicGenre) {
		// TODO Auto-generated method stub
		
	}

	public void insert(MusicGenre musicGenre) {
		// TODO Auto-generated method stub
		
	}

	public List<Account> findAll() {
		// TODO Auto-generated method stub
		return null;
	}

}
